#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_assert.py
# author:Jackiex
# datetime:2023/4/24 10:40
# software: PyCharm

"""
this is function  description 
"""

# a = 6/0
#
# print(a)

# num = eval(input("请输入一个数字"))
# print(num ** 2)

#
# num = eval(input("请输入一个数字"))
# if(num.isdigit()):
#    print(num ** 2)
# else:
#    print("您输入的不是数字")

# try:
#     num = eval(input("请输入一个数字"))
#     print(num ** 2)
#
# except:
#     print("您输入的不是数字")


# while True:
#     try:
#         x = int(input("请输入一个数字: "))
#         break
#     except ValueError:
#         print("您输入的不是数字，请再次尝试输入！")

x = 6
if x > 5:
    raise Exception('x 不能大于 5。x 的值为: {}'.format(x))